package com.qidian.buy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qidian.buy.entity.Specifications;
import org.apache.ibatis.annotations.Param;

/**
 * @Author 郭浩
 */
public interface SpecificationsMapper extends BaseMapper<Specifications> {

    Specifications queryById(Long id);

    int deleteItemFromSp(Long id);

    int insertItemFromSp(@Param("spId") Long spId, @Param("itemId") Long itemId);
}
